Functions

Includes APIs for getting and setting device parameters. More...

Functions

def MV_CC_GetIntValueEx (self, strKey, stIntValue)
 Gets the value of integer type node. More...
 
def MV_CC_SetIntValueEx (self, strKey, nValue)
 Sets the value of integer type node. More...
 
def MV_CC_GetEnumValue (self, strKey, stEnumValue)
 Gets the value of enumeration type node. More...
 
def MV_CC_GetEnumValueEx (self, strKey, stEnumValue)
 Gets the value of enumeration type node (extended). More...
 
def MV_CC_SetEnumValue (self, strKey, nValue)
 Sets the value of enumeration type node. More...
 
def MV_CC_GetEnumEntrySymbolic (self, strKey, stEnumEntry)
 Gets the enumerator name according to the node name and assigned value. More...
 
def MV_CC_SetEnumValueByString (self, strKey, sValue)
 Sets the value of enumeration type node. More...
 
def MV_CC_GetFloatValue (self, strKey, stFloatValue)
 Gets the value of float type node. More...
 
def MV_CC_SetFloatValue (self, strKey, fValue)
 Sets the value of float type node. More...
 
def MV_CC_GetBoolValue (self, strKey, BoolValue)
 Gets the value of boolean type node. More...
 
def MV_CC_SetBoolValue (self, strKey, bValue)
 Sets the value of boolean type node. More...
 
def MV_CC_GetStringValue (self, strKey, StringValue)
 Gets the value of string type node. More...
 
def MV_CC_SetStringValue (self, strKey, sValue)
 Sets the value of string type node. More...
 
def MV_CC_SetCommandValue (self, strKey)
 Sets the value of command type node. More...
 

Detailed Description

Includes APIs for getting and setting device parameters.

Function Documentation

◆ MV_CC_GetIntValueEx()

def MvCameraControl_class.MV_CC_GetIntValueEx (   self,
  strKey,
  stIntValue 
)

Gets the value of integer type node.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name), for example, using "Width" to get the image width.
pstIntValue[IN][OUT] It refers to the pointer to device feature structure.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to get the value of specified node of integer type.

◆ MV_CC_SetIntValueEx()

def MvCameraControl_class.MV_CC_SetIntValueEx (   self,
  strKey,
  nValue 
)

Sets the value of integer type node.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name), for example, using "Width" to get the image width.
nValue[IN] It refers to the device node value to be set.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to set the value of specified node of integer type.

◆ MV_CC_GetEnumValue()

def MvCameraControl_class.MV_CC_GetEnumValue (   self,
  strKey,
  stEnumValue 
)

Gets the value of enumeration type node.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name), for example, using "PixelFormat" to get the pixel format.
pstEnumValue[IN][OUT] It refers to the pointer to device feature structure.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to get the value of specified node of enumeration type.

◆ MV_CC_GetEnumValueEx()

def MvCameraControl_class.MV_CC_GetEnumValueEx (   self,
  strKey,
  stEnumValue 
)

Gets the value of enumeration type node (extended).

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name), for example, using "PixelFormat" to get the pixel format.
pstEnumValue[IN][OUT] It refers to the pointer to device feature structure.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
  • Call this API after connecting to the device to get the value of specified node of enumeration type.
  • Compared with MV_CC_GetEnumValue(), this API can return up to 256 valid enumeration values.

◆ MV_CC_SetEnumValue()

def MvCameraControl_class.MV_CC_SetEnumValue (   self,
  strKey,
  nValue 
)

Sets the value of enumeration type node.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name), for example, using "PixelFormat" to get the pixel format.
nValue[IN] It refers to the device node value to be set.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to set the value of specified node of enumeration type.

◆ MV_CC_GetEnumEntrySymbolic()

def MvCameraControl_class.MV_CC_GetEnumEntrySymbolic (   self,
  strKey,
  stEnumEntry 
)

Gets the enumerator name according to the node name and assigned value.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name), for example, using "PixelFormat" to get the pixel format.
pstEnumEntry[IN][OUT] It refers to the enumerator name.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to get the value of specified node of enumeration type.

◆ MV_CC_SetEnumValueByString()

def MvCameraControl_class.MV_CC_SetEnumValueByString (   self,
  strKey,
  sValue 
)

Sets the value of enumeration type node.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name), for example, using "PixelFormat" to get the pixel format.
strValue[IN] It refers to the device node string to be set.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to set the value of specified node of enumeration type.

◆ MV_CC_GetFloatValue()

def MvCameraControl_class.MV_CC_GetFloatValue (   self,
  strKey,
  stFloatValue 
)

Gets the value of float type node.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name).
pstFloatValue[IN][OUT] It refers to the pointer to device feature structure.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to get the value of specified node of float type.

◆ MV_CC_SetFloatValue()

def MvCameraControl_class.MV_CC_SetFloatValue (   self,
  strKey,
  fValue 
)

Sets the value of float type node.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name).
fValue[IN] It refers to the device node value to be set.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to set the value of specified node of float type.

◆ MV_CC_GetBoolValue()

def MvCameraControl_class.MV_CC_GetBoolValue (   self,
  strKey,
  BoolValue 
)

Gets the value of boolean type node.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name).
pbValue[IN][OUT] It refers to the pointer to device feature structure.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to get the value of specified node of boolean type.

◆ MV_CC_SetBoolValue()

def MvCameraControl_class.MV_CC_SetBoolValue (   self,
  strKey,
  bValue 
)

Sets the value of boolean type node.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name).
bValue[IN] It refers to the device node value to be set.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to set the value of specified node of boolean type.

◆ MV_CC_GetStringValue()

def MvCameraControl_class.MV_CC_GetStringValue (   self,
  strKey,
  StringValue 
)

Gets the value of string type node.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name).
pstStringValue[IN][OUT] It refers to the pointer to device feature structure.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to get the value of specified node of string type.

◆ MV_CC_SetStringValue()

def MvCameraControl_class.MV_CC_SetStringValue (   self,
  strKey,
  sValue 
)

Sets the value of string type node.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name).
strValue[IN] It refers to the device node value to be set.
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to set the value of specified node of string type.

◆ MV_CC_SetCommandValue()

def MvCameraControl_class.MV_CC_SetCommandValue (   self,
  strKey 
)

Sets the value of command type node.

Parameters
handle[IN] It refers to device handle / frame grabber handle.
strKey[IN] It refers to the key value (node name).
Returns
Returns MV_OK for success, and returns corresponding Error Code for failure.
Remarks
Call this API after connecting to the device to set the value of specified node of command type.